Serge Demeyer | Publications | E-mail Feedback
Last updated on Thursday, November 16, 2023
@inproceedings{VanBladel2019IWSC, author = {Brent van Bladel and Serge Demeyer}, booktitle = {Proceedings {IWSC 2019} ({IEEE} 13th International Workshop on Software Clones)}, note = {Acceptance ratio: 4 / 8 = 50\%}, pages = {102--118}, publisher = {IEEE}, title = {A Novel Approach for Detecting {Type-IV} Clones in Test Code}, year = {2019}, abstract = {The typical structure of unit test code (setup - stimulate - verify - teardown) gives rise to duplicated test logic. Researchers have demonstrated the widespread use of syntactic clones in test code, yet if duplicated test code is indeed a problem, then semantic clones may be an issue as well. However, while detecting syntactic similarities can be done relatively easy, semantic similarities are more difficult to find. In this paper we present a novel way of detecting semantic clones by exploiting the unique features present in test code. We demonstrate on the Apache Commons Math Library's test suite that our approach can detect 259 semantic clones, of which only 54 were also detected by NiCad. This confirms that it is both feasible and worthwhile to investigate semantic clones in test code.}, annote = {workshoppaper}, doi = {10.1109/IWSC.2019.8665855}, issn = {2329-0595}, }